﻿Imports System.ServiceModel
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports Utilitario
Imports System.Net.Mime
Imports System.IO
' NOTA: puede usar el comando "Cambiar nombre" del menú contextual para cambiar el nombre de interfaz "IEnvioEstadoCta" en el código y en el archivo de configuración a la vez.
<ServiceContract()>
Public Interface IEnvioEstadoCta

    <OperationContract()>
    Function enviarEmail(de As String, para As String, asunto As String, cc As String, cco As String, cuerpo As String, memoria As MemoryStream, tipContenido As ContentType) As Boolean

    <OperationContract()>
    Function generarPDF(rutaOrigen As String, rutaDestino As String, tipo As String,
                               ds As dsDetalle, codPedido As String, codCliente As String, nomCliente As String,
                               condicion As String, fecha As String, marca As String, moneda As String, agencia As String,
                               neto As Decimal, igv As Decimal, percepcion As Decimal, observaciones As String, direccion As String, ruc As String) As Boolean

    <OperationContract()>
    Function eliminarArchivo(ruta As String) As Boolean

End Interface
